﻿// See https://aka.ms/new-console-template for more information、、
dosomething2();

int dosomething(int para)
{
    var result = 10 / para;
    return result;
}

int dosomething2()
{
    try
    {
        var result = dosomething(0);
        return result;
    }
    catch
    {
        return 0;
    }
    finally
    {
        Console.WriteLine("finally一定会执行");
    }
}